home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / hdf / unix / examples.lha / examples / util / hdf24to8 / hdf24to8.test next >
Encoding:
Text File  |  1991-10-23  |  565 b   |  21 lines

  1. #! /bin/csh -f
  2. # Script for testing hdf24to8 
  3. #
  4. # Input files needed: corn.r24 and head.r24 (both 24-bit hdf raster 
  5. #                     image files)
  6. # Output files: corn.r8 and head.r8
  7. #                
  8. # Output files can be examined with hdfls to see if basic
  9. # contents are there.  Display the images using any HDF
  10. # 8-bit raster display tool.
  11. #
  12. set echo
  13. #
  14. # convert image stored in corn.r24 to 8-bit image stored in corn.r8
  15. hdf24to8 corn.r24 corn.r8
  16. #
  17. # convert image stored in corn.r24 to 8-bit image stored in corn.r8
  18. hdf24to8 head.r24 head.r8
  19. #
  20. unset echo
  21.